package com.soccer.soccerclub.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.soccer.soccerclub.entity.SoccerGame;
import com.soccer.soccerclub.mapper.SoccerGameMapper;
import com.soccer.soccerclub.service.SoccerGameService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-04-19
 */
@Service
public class SoccerGameServiceImpl extends ServiceImpl<SoccerGameMapper, SoccerGame> implements SoccerGameService {

    /**
     * 足球场次列表
     * @param page
     * @param gameName
     * @return
     */
    @Override
    public Page<SoccerGame> listPage(Page<SoccerGame> page, String gameName) {
        return baseMapper.listPage(page,gameName);
    }
}
